package forms

type PatientForm struct {
	Name          string `json:"name" form:"name" binding:"required"`
	Age           int    `json:"age" form:"age"`
	PatientNumber string `json:"patient_number" form:"patient_number" binding:"required"`
	CardNumber    string `json:"card_number" form:"card_number" binding:"required"`
	Gender        int    `json:"gender" form:"gender"`
	Position      string `json:"position" form:"position"`
}

type EditPatientForm struct {
	ID            int32  `json:"id" form:"id" binding:"required"`
	Name          string `json:"name" form:"name"`
	Age           int    `json:"age" form:"age"`
	PatientNumber string `json:"patient_number" form:"patient_number"`
	CardNumber    string `json:"card_number" form:"card_number"`
	Gender        int    `json:"gender" form:"gender"`
	Position      string `json:"position" form:"position"`
}

type GetPatientForm struct {
	GetListForm
	Name          string `json:"name" form:"name"`
	PatientNumber string `json:"patient_number" form:"patient_number"`
	CardNumber    string `json:"card_number" form:"card_number"`
}
